<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/sys/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改园区介绍</title>
<%@ include file="/WEB-INF/sys/include/css.jsp"%>
</head>
<body>
<form id="form" action="${path}/park/updateDescrib.json" method="post">
<div class="form">
	<div class="title">修改园区介绍</div>
	<div class="group">
		<div class="label">园区名称:</div>
		<div class="text">${park.parkName }</div>
	</div>
	<div class="group" style="overflow: visible;">
		<div class="label">园区介绍:</div>
		<div class="item">
			<script id="describ" name="describ" type="text/plain" style="width:1000px;height:400px;">${park.describ }</script>
		</div>
	</div>
	<div class="buttons">
		<button class="highlight" id="submit1" type="button">确定</button>
		<button type="button" id="cancel1">取消</button>
		<input type="hidden" id="parkid" name="parkid" value="${park.parkid}" />
	</div>
</div>
</form>
<%@ include file="/WEB-INF/sys/include/script.jsp" %>
<script type="text/javascript" src="${path}/res/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="${path}/res/js/ueditor/ueditor.all.min.js"></script>
<script type="text/javascript">
var ue;
$(function() {
	ue = UE.getEditor('describ', {});
	$("#form").ligerForm({inputWidth: 300});
	
	verifyForm("form", {}, function(){
		$("#form").ajaxForm(function(data){
			UiUtil.isSuccess(data, "修改园区介绍成功", function(){
				UiUtil.closeForm(true);
			});
		});
	});
	
	$("#submit1").click(function(){
		UiUtil.lockButton('submit1');
		$("#form").submit();
	});

	$("#cancel1").click(function(){
		UiUtil.closeForm();
	});
	
});
</script>
</body>
</html>